RT\ThePostGrid\Controllers\Api\RestApi S

Total Complexity 16
Dependencies 9
Dependents 1
Total lines 167
Lines of code 121
Logical lines of code 47
Comment lines 18
Methods 8
Properties 0

Methods 8

Method Rating Maintainability Complexity Lines of code
rttpg_register_rest_fields()
S
45 2 56
rttpg_get_featured_image_url()
S
53 4 23
rttpg_get_category_list()
S
63 3 10
rttpg_get_author_info()
S
69 2 6
rttpg_get_excerpt()
S
69 2 7
__construct()
S
64 1 10
init_rest_routes()
S
74 1 5
rttpg_get_comment_info()
S
76 1 4